﻿/**********************************************************************
 * @file   FITKAcousticsVTKViewAdaptorFEJunctionPoint.h
 * @brief  FE点连接渲染适配器
 * @author BaGuijun (baguijun@163.com)
 * @date   2025-02-08
 *********************************************************************/

#ifndef __FITKAcousticsVTKViewAdaptorFEJunctionPoint_H__
#define __FITKAcousticsVTKViewAdaptorFEJunctionPoint_H__

#include "FITKAcousticsVTKViewAdaptorBase.h"
#include "FITKAcousticsVTKGraphAdaptorAPI.h"

namespace Exchange
{
    /**
     * @brief  FE点连接渲染适配器
     * @author BaGuijun (baguijun@163.com)
     * @date   2025-02-08
     */
    class FITKACOUSTICSGRAPHADAPTORAPI FITKAcousticsVTKViewAdaptorFEJunctionPoint : public FITKAcousticsVTKViewAdaptorBase
    {
        // Regist
        FITKCLASS(Exchange, FITKAcousticsVTKViewAdaptorFEJunctionPoint);
    public:
        /**
         * @brief    构造函数
         * @author   BaGuijun (baguijun@163.com)
         * @date     2025-02-08
         */
        explicit FITKAcousticsVTKViewAdaptorFEJunctionPoint() = default;
        /**
         * @brief    析构函数
         * @author   BaGuijun (baguijun@163.com)
         * @date     2025-02-08
         */
        ~FITKAcousticsVTKViewAdaptorFEJunctionPoint() = default;
        /**
         * @brief    更新
         * @return   bool                     是否成功
         * @author   BaGuijun (baguijun@163.com)
         * @date     2025-02-08
         */
        bool update() override;
    };

    // Regist SEA junction point adaptor
    Register2FITKViewAdaptorFactory(FEJunctionPoint, Acoustics::FITKFEJunctionPoint, FITKAcousticsVTKViewAdaptorFEJunctionPoint);
}   // namespace Exchange

#endif // __FITKACOUSTICSVTKVIEWADAPTORSEAJUNCTIONPOINT_H__